﻿using System;
using Htss.Platform.Data;

namespace DreamBox.Model
{
    [Table(Name = "dbox_Config")]
    public class SiteConfig:BasicModel
    {
        [Field(Name = "ConfigID",DbFieldType=DbFieldType.PrimaryKey)]
        /// <summary>
        /// 配置ID
        /// </summary>
        public int? ConfigID
        {
            get ; 
            set ; 
        }
        [Field(Name = "SiteName")]
        /// <summary>
        /// 网站名称
        /// </summary>
        public string SiteName
        {
            get; 
            set ; 
        }
        [Field(Name = "SiteUrl")]
        /// <summary>
        /// 网站地址
        /// </summary>
        public string SiteUrl
        {
            get; 
            set; 
        }
        [Field(Name = "Title")]
        /// <summary>
        /// 网站标题
        /// </summary>
        public string Title
        {
            get ; 
            set ; 
        }
        [Field(Name = "KeyWords")]
        /// <summary>
        /// 网站关键字
        /// </summary>
        public string KeyWords
        {
            get ; 
            set ; 
        }
        [Field(Name = "Description")]
        /// <summary>
        /// 网站描述
        /// </summary>
        public string Description
        {
            get; 
            set; 
        }
        [Field(Name = "ICP")]
        /// <summary>
        /// ICP备案
        /// </summary>
        public string ICP
        {
            get ; 
            set ; 
        }
        [Field(Name = "CopyRight")]
        /// <summary>
        /// 版权说明
        /// </summary>
        public string CopyRight
        {
            get ; 
            set; 
        }
        [Field(Name = "RegisterOpen")]
        /// <summary>
        /// 注册开放
        /// </summary>
        public bool? RegisterOpen
        {
            get ; 
            set ; 
        }
        [Field(Name = "RegisterOpenMsg")]
        /// <summary>
        /// 关闭注册时提示信息
        /// </summary>
        public string RegisterOpenMsg 
        {
            get ; 
            set ; 
        }
        [Field(Name = "SiteOpen")]
        /// <summary>
        /// 网站关闭
        /// </summary>
        public bool? SiteOpen
        {
            get; 
            set ; 
        }
        [Field(Name = "SiteOpenMsg")]
        /// <summary>
        /// 关闭网站时 提示信息
        /// </summary>
        public string SiteOpenMsg
        {
            get ; 
            set ; 
        }
        [Field(Name = "IsLogin")]
        /// <summary>
        /// 浏览网站需要登陆
        /// </summary>
        public bool? IsLogin
        {
            get ; 
            set ; 
        }
        [Field(Name = "IsLoginMsg")]
        /// <summary>
        /// 网站需要登陆浏览时 提示信息
        /// </summary>
        public string IsLoginMsg
        {
            get ; 
            set ; 
        }
    }
}
